package 线程.demo03;

/**
 * @author wql
 * @version 1.0
 * @date 2022/10/31 15:32
 */

public class Test {
    public static void main(String[] args) throws InterruptedException {
        WqlTicket ticket = new WqlTicket();
        Thread t1 = new Thread(ticket,"A");
        Thread b = new Thread(ticket, "B");
        t1.start();
        b.start();
    }
}

